//
//  HCLogServer.h
//  HCToolBox
//
//  Created by Hotacool on 2019/4/15.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN
@class HCConsoleLogger;
@interface HCLogServer : NSObject
@property (nonatomic, strong) HCConsoleLogger *logger;

- (instancetype)initWithLogger:(HCConsoleLogger*)logger ;

- (void)startServerWithPort:(NSInteger)port ;

- (void)stopServer ;

- (NSURL*)serverURL;

- (BOOL)isRunning;
@end

NS_ASSUME_NONNULL_END
